package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationLiabilityStatementRecordDao;
import com.site.wisdom_construction.entity.personnelModule.EducationLiabilityStatementRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/28
 * @Description
 */
@Service
public class EducationLiabilityStatementRecordService implements EducationLiabilityStatementRecordDao {
    @Autowired
    private EducationLiabilityStatementRecordDao educationLiabilityStatementRecordDao;

    @Override
    public int insertEducationLiabilityStatementRecord(Map map) {
        return educationLiabilityStatementRecordDao.insertEducationLiabilityStatementRecord(map);
    }

    @Override
    public int deleteEducationLiabilityStatementRecord(Map map) {
        return educationLiabilityStatementRecordDao.deleteEducationLiabilityStatementRecord(map);
    }

    @Override
    public int updateEducationLiabilityStatementRecord(Map map) {
        return educationLiabilityStatementRecordDao.updateEducationLiabilityStatementRecord(map);
    }

    @Override
    public List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByPage(Map map) {
        return educationLiabilityStatementRecordDao.findEducationLiabilityStatementRecordByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationLiabilityStatementRecordDao.Total(map);
    }

    @Override
    public EducationLiabilityStatementRecord findEducationLiabilityStatementRecordById(Map map) {
        return educationLiabilityStatementRecordDao.findEducationLiabilityStatementRecordById(map);
    }

    @Override
    public List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByWorkerCard(Map map) {
        return educationLiabilityStatementRecordDao.findEducationLiabilityStatementRecordByWorkerCard(map);
    }

    @Override
    public List<EducationLiabilityStatementRecord> findEducationLiabilityStatementRecordByManagerialId(Map map) {
        return educationLiabilityStatementRecordDao.findEducationLiabilityStatementRecordByManagerialId(map);
    }

    @Override
    public long TotalByManagerialId(Map map) {
        return educationLiabilityStatementRecordDao.TotalByManagerialId(map);
    }
}
